﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
public class BLLSettings
{
    DatabaseDataContext Context;

    public BLLSettings()
	{
        Context = new DatabaseDataContext();
	}
    public Setting GetSettings()
    {
        Setting s = null;
        try
        {
            s = (from st in Context.Settings select st).First();
        }
        catch { }
        return s;
    }
}